#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

using namespace std;

int abs(int x)
{
    if (x >= 0) return x;
    else  return -x;
}

int main()
{
    int x;
    cin >> x;
    cout << abs(x) << endl;
    return 0;
}